-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add error-prone.picnic.tech/bugpatterns/NonStaticImport
#5191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add error-prone.picnic.tech/bugpatterns/NonStaticImport
#5191
Conversation
...-platform-launcher/src/main/java/org/junit/platform/launcher/tagexpression/ShuntingYard.java
Show resolved
Hide resolved
...main/java/org/junit/platform/commons/support/conversion/FallbackStringToObjectConverter.java
Show resolved
Hide resolved
NonStaticImportpicnic.tech/bugpatterns/NonStaticImport
picnic.tech/bugpatterns/NonStaticImporterror-prone.picnic.tech/bugpatterns/NonStaticImport
error-prone.picnic.tech/bugpatterns/NonStaticImportNonStaticImport
NonStaticImporterror-prone.picnic.tech/bugpatterns/NonStaticImport
838d0fe to
6b02a14
Compare
6b02a14 to
09fc8a9
Compare
- https://error-prone.picnic.tech/bugpatterns/StaticImport Signed-off-by: Vincent Potucek <vpotucek@me.com>
09fc8a9 to
27418df
Compare
|
kindly asking, if this is any good? |
✅ All tests passed ✅🏷️ Commit: 27418df Learn more about TestLens at testlens.app. |
rickie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the changes in the gradle file, they changes LGTM!
| val shouldDisableErrorProne = java.toolchain.implementation.orNull == JvmImplementation.J9 | ||
| if (name == "compileJava" && !shouldDisableErrorProne) { | ||
| disable( | ||
| "AnnotateFormatMethod", // We don`t want to use ErrorProne's annotations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about the changes in this file TBH, are they needed?
The changes in this file seem to be related to this: #5189 (comment) seems to also be related to the changes here.
Add
error-prone.picnic.tech/bugpatterns/NonStaticImportrelated to:
UnnecessarilyFullyQualified#5189disablewarning leftovers to finalize convention principle #5190StaticImport,NonStaticImportdiffplug/spotless#2743org.junit.openrewrite.SanityCheck#5193I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@APIannotations